from core.domain.entity import Entity


class Page(Entity):
    def __init__(self, page_file_path: str):
        self.text = ''
        self.page_file_path = page_file_path

    def add_page_text(self, text: str):
        self.text = text

    @property
    def return_page_text(self) -> str:
        return self.text

